#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "OLED.h"
#include "Motor.h"

int8_t speed = 20;

int main(void)
{
	OLED_Init();
	OLED_ShowString(1, 1, "Speed:");
	Motor_Init();
	while (1)
	{
		OLED_ShowSignedNum(1, 7, speed, 3);
		Motor_SpeedControl(speed);
	}
}
